package com.example.group_20.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.sql.Date;
import java.sql.Time;

/**
 * @author: 栋
 * @data: 2023/8/8
 */
@TableName("files")
public class FilesInfor {
    private String file_id;
    private String path;
    /*
    1:项目需求说明书
    2:项目详细设计说明书
    3:项目概要设计说明书
    4:项目测试计划
    5:实验报告
    6:测试分析报告
     */
    private int type;
    private String name;
    private String extension;
    private Long size;
    private Date sub_date;
    private Time sub_time;
    private int group_id;
    private String teacher_id;
    private String teacher_name;
    private Date check_date;
    private Time check_time;
    private String comments;
    private int status;

    public FilesInfor() {
    }

    public FilesInfor(String file_id, String path, int type, String name, String extension, Long size, Date sub_date, Time sub_time, int group_id, String teacher_id, String teacher_name, Date check_date, Time check_time, String commnets, int status) {
        this.file_id = file_id;
        this.path = path;
        this.type = type;
        this.name = name;
        this.extension = extension;
        this.size = size;
        this.sub_date = sub_date;
        this.sub_time = sub_time;
        this.group_id = group_id;
        this.teacher_id = teacher_id;
        this.teacher_name = teacher_name;
        this.check_date = check_date;
        this.check_time = check_time;
        this.comments = commnets;
        this.status = status;
    }

    public String getFile_id() {
        return file_id;
    }

    public void setFile_id(String file_id) {
        this.file_id = file_id;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getExtension() {
        return extension;
    }

    public void setExtension(String extension) {
        this.extension = extension;
    }

    public Long getSize() {
        return size;
    }

    public void setSize(Long size) {
        this.size = size;
    }

    public Date getSub_date() {
        return sub_date;
    }

    public void setSub_date(Date sub_date) {
        this.sub_date = sub_date;
    }

    public Time getSub_time() {
        return sub_time;
    }

    public void setSub_time(Time sub_time) {
        this.sub_time = sub_time;
    }

    public int getGroup_id() {
        return group_id;
    }

    public void setGroup_id(int group_id) {
        this.group_id = group_id;
    }

    public String getTeacher_id() {
        return teacher_id;
    }

    public void setTeacher_id(String teacher_id) {
        this.teacher_id = teacher_id;
    }

    public String getTeacher_name() {
        return teacher_name;
    }

    public void setTeacher_name(String teacher_name) {
        this.teacher_name = teacher_name;
    }

    public Date getCheck_date() {
        return check_date;
    }

    public void setCheck_date(Date check_date) {
        this.check_date = check_date;
    }

    public Time getCheck_time() {
        return check_time;
    }

    public void setCheck_time(Time check_time) {
        this.check_time = check_time;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "FilesInfor{" +
                "file_id='" + file_id + '\'' +
                ", path='" + path + '\'' +
                ", type=" + type +
                ", name='" + name + '\'' +
                ", extension='" + extension + '\'' +
                ", size=" + size +
                ", sub_date=" + sub_date +
                ", sub_time=" + sub_time +
                ", group_id=" + group_id +
                ", teacher_id='" + teacher_id + '\'' +
                ", teacher_name='" + teacher_name + '\'' +
                ", check_date=" + check_date +
                ", check_time=" + check_time +
                ", commnets='" + comments + '\'' +
                ", status=" + status +
                '}';
    }
}
